﻿using System;
using System.Collections.Specialized;

namespace WFWS.Core
{
    public class HttpCookieCollection :  NameObjectCollectionBase
    {
        public void Set(HttpCookie cookie)
        {
            BaseSet(cookie.Name, cookie);
        }

        public HttpCookie Get(string name)
        {
            return (HttpCookie)BaseGet(name);
        }
    }
}
